public class Lader {
    double above;       //梯形的上底
    double bottom;      //梯形的下底
    double height;      //梯形的高
    double getArea() {       
       return (above+bottom)*height/2;
    }
}
